import ajax from '../ajax'

export default {
	getData({ commit, state }) {
		ajax('GET', 'http://localhost:9090/info').
		then(res => {
			commit('GET_DATA', {
				res
			})
		})
	}
}